import http from "@/api";

export const getThemeListApi = async (data) =>
  await http.post("theme/page/list", data);

export const insertThemeApi = async (data) =>
  await http.post("theme/insert", data);

export const deleteThemeApi = async (data) =>
  await http.post("theme/delete", data);

export const getThemeDetailApi = async (id) =>
  await http.get(`theme/get/${id}`);

export const updateThemeApi = async (data) =>
  await http.post("theme/update", data);
